Move `plat_get_syscnt_freq()` to arm_common.c
authorYatharth Kochar <yatharth.kochar@arm.com>
Thu, 14 Apr 2016 13:49:37 +0000 (14:49 +0100)
committerYatharth Kochar <yatharth.kochar@arm.com>
Thu, 21 Apr 2016 16:10:58 +0000 (17:10 +0100)
commitc073fda1c692d7c74415d26fb483d6336330fcc0
tree6c33731e77ceeea6859d7114a39318926a79a30e
parent81b491ff37a7027766410a91d9837e093248300d
Move `plat_get_syscnt_freq()` to arm_common.c

This patch moves the definition for `plat_get_syscnt_freq()`
from arm_bl31_setup.c to arm_common.c. This could be useful
in case a delay timer needs to be installed based on the
generic timer in other BLs.
This patch also modifies the return type for this function
from `uint64_t` to `unsigned long long` within ARM and other
platform files.

Change-Id: Iccdfa811948e660d4fdcaae60ad1d700e4eda80d
include/plat/common/platform.h
plat/arm/common/aarch64/arm_common.c
plat/arm/common/arm_bl31_setup.c
plat/mediatek/mt8173/aarch64/platform_common.c
plat/nvidia/tegra/include/tegra_private.h
plat/nvidia/tegra/soc/t132/plat_setup.c
plat/nvidia/tegra/soc/t210/plat_setup.c
plat/rockchip/common/aarch64/platform_common.c
plat/xilinx/zynqmp/aarch64/zynqmp_common.c